package com.ms.content.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 * 这个是商品秒杀表
 * 
 * @author wc
 * @email sunlightcs@gmail.com
 * @date 2022-02-22 11:56:10
 */
@Data
@TableName("order_info")
public class OrderInfoEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId
	private String id;
	/**
	 * 
	 */
	private Long gooId;
	/**
	 * 
	 */
	private String userId;
	/**
	 * 
	 */
	private Long goodsId;
	/**
	 * 
	 */
	private Long deliveryAddrId;
	/**
	 * 
	 */
	private String goodsName;
	/**
	 * 
	 */
	private Integer goodsCount;
	/**
	 * 
	 */
	private BigDecimal goodsPrice;
	/**
	 * 
	 */
	private Integer goodsChannel;
	/**
	 * 
	 */
	private Integer status;
	/**
	 * 
	 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:dd",timezone = "GMT+8")
	private Date createDate;
	/**
	 * 
	 */
	private Date payDate;

}
